package com.youi.entity;

import java.util.Date;
import java.sql.*;


import java.io.Serializable;


/**
 * 用户信息
 * @author XJY
 */
public class User implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private String phone;					    //手机号码
	private String password;				    //密码
	private String img;						    //头像
	private String name;					    //姓名
	private String nickName;				    //昵称
	private Date birthday;					    //生日
	private Integer gender;					    //性别(0未知  1女 2男)
	private Double amount;					    //余额
	private Double score;					    //积分
	private Integer isVip;					    //会员(0否 1是)
	private Integer role;					    //角色(0普通会员 1团长 2粉丝)
	private Integer leaderLevel;				//团长等级(0普通团长 1绑定门店的团长 2店员团长 3店长团长)

    public User(){

    }

    public User(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public User(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,String phone,String password,String img,String name,String nickName,Date birthday,Integer gender,Double amount,Double score,Integer isVip,Integer role,Integer leaderLevel) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.phone=phone;
       this.password=password;
       this.img=img;
       this.name=name;
       this.nickName=nickName;
       this.birthday=birthday;
       this.gender=gender;
       this.amount=amount;
       this.score=score;
       this.isVip=isVip;
       this.role=role;
       this.leaderLevel=leaderLevel;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setPhone(String phone){
		this.phone=phone;
	}

	public String getPhone(){
		return phone;
	}

	public void setPassword(String password){
		this.password=password;
	}

	public String getPassword(){
		return password;
	}

	public void setImg(String img){
		this.img=img;
	}

	public String getImg(){
		return img;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getName(){
		return name;
	}

	public void setNickName(String nickName){
		this.nickName=nickName;
	}

	public String getNickName(){
		return nickName;
	}

	public void setBirthday(Date birthday){
		this.birthday=birthday;
	}

	public Date getBirthday(){
		return birthday;
	}

	public void setGender(Integer gender){
		this.gender=gender;
	}

	public Integer getGender(){
		return gender;
	}

	public void setAmount(Double amount){
		this.amount=amount;
	}

	public Double getAmount(){
		return amount;
	}

	public void setScore(Double score){
		this.score=score;
	}

	public Double getScore(){
		return score;
	}

	public void setIsVip(Integer isVip){
		this.isVip=isVip;
	}

	public Integer getIsVip(){
		return isVip;
	}

	public void setRole(Integer role){
		this.role=role;
	}

	public Integer getRole(){
		return role;
	}

	public void setLeaderLevel(Integer leaderLevel){
		this.leaderLevel=leaderLevel;
	}

	public Integer getLeaderLevel(){
		return leaderLevel;
	}

}
